Skip to content

test(inspector): typecheck its own tests - #528

Merged
blove merged 1 commit into
mainfrom
blove/inspector-typecheck-tests
Sep 1, 2026
Merged

test(inspector): typecheck its own tests#528
blove merged 1 commit into
mainfrom
blove/inspector-typecheck-tests

Conversation

@blove

@blove blove commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

The last package whose typecheck compiled only src/**. Its 31 test files were never type-checked.

They compile clean once in scope, so this is coverage with nothing to fix — tsconfig.test.json matching the one every other package now carries, plus the lint script picking the new file up alongside the tsconfigs it already covers.

With this, every workspace package that has tests type-checks them. The sweep that started with the root test/ tree in #501 is closed.

Verification

gate result
pnpm lint 27/27
pnpm typecheck 51/51
pnpm test 5586 passed, 218 skipped, 0 failed
node scripts/check-docs.mjs pass

tsc --listFiles confirms the 31 test files are actually in scope rather than silently skipped, and an injected TS2322 in a test file is caught by the equivalent config — the configs check, they don't just pass.

Note for reviewers

permissions, sdk, langchain and core already landed their own tsconfig.test.json on main while this was in flight, so they are deliberately untouched here. This PR is inspector only.

🤖 Generated with Claude Code

The last package whose `typecheck` compiled only `src/**`. Its 31 test files
were never type-checked; they compile clean once in scope, so this is coverage
with no fixes attached.

`tsconfig.test.json` matches the one every other package now carries, and the
lint script picks the new file up alongside the tsconfigs it already covers.

With this, every workspace package that has tests type-checks them.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dawnai Ready Ready Preview Sep 1, 2026 2:56am UTC

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@blove
blove merged commit c6faffc into main Sep 1, 2026
24 of 25 checks passed
@blove
blove deleted the blove/inspector-typecheck-tests branch September 1, 2026 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant